package com.changil.admin.action.board;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.changil.admin.action.Action;
import com.changil.admin.protocol.http.HttpUtil;

public class WriteFormAction extends Action {
	private int boardId;
	public WriteFormAction(int boardId) {
		this.boardId = boardId;
	}
	@Override
	public void execute(HttpServletRequest request, HttpServletResponse response)
			throws IOException, ServletException {
		HttpUtil.forward(request, response, "/views/board/writeform.jsp?boardId="+boardId);

	}

}
